package top.infopub.mgr.mkt.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.generic.GenericDao;
import top.infopub.model.mkt.*;

/**
 * @Author Warking
 * @Date 2021/5/2 14:01
 * @Version 1.0    投标决策详情
 */
@Repository
public interface TenderPlanningDtoDao extends GenericDao<ProSell, String> {

    BidInfo biddingInformation(@Param("proCode") String proCode);

    BidAnalysis analysisDetail(@Param("proCode") String code);

    BusinessDetails standDetail(@Param("proCode") String code);

    CreditDetail creditDetail(@Param("proCode") String proCode);

    TechnicalDetail technicalDetail(@Param("proCode") String code);

    void saveBidInfo(BidInfo bidInfo);

    void saveBidPlan(BidInfo bidInfo);

    void updateBusiness(BusinessDetails businessDetails);

    void updateTechnical(TechnicalDetail technicalDetail);

    void updateCredit(CreditDetail creditDetail);

    String isFlag(@Param("proCode")String proCode);

    BidPlan selectByProCode(@Param("proCode")String proCode);



    void insertTechnicalDetail2(TechnicalDetail technicalDetail);

    void insertBusinessDetail2(BusinessDetails businessDetails2);

    void insertCreditDetail2(CreditDetail creditDetail2);
}
